> Or is there another way i could do it?
Well, I've given you two ways that work for me. I can only conclude that your example is different to the one I know how to deal with.
The only other approach I can think of is to make all of the objects the same height at the time you create them, and then the problem does not arise.
If you know how to show a screen-shot here, that might help me to help you.
___________________________________________________
Nikon D100 RawShooter PaintShopProXI Python ReXX MySQL