Clamping the heights to 0<=x<=100