Heigh changer old style refactored

This is the old heightchanger but with only a little code cleanup. Comments inserted and javadoc added. I think, sasier than this is not possible using such a recursive function.
Fixed this in recent commit