groundlevel for 2d reworked