build(xmax, ymax) to zoom