Height changer new style

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.