fix height (x1-x2)