use Math.round to compute the height.