small change to speed up bottom adjustment --- take a call to keys() out...

...side of a loop