I expect to check in revised code which will deal with those cycles sometime today - it should be worse-case quadratic. I think the current code is looping in the ERG situation, which obviously it shouldn't do. People should not update until I've checked in. Ann