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.
Could you add some javadoc for these static fields? I am asking because it is unclear to me what maxTileHeightDifference and performanceCap are for.