startsWith helper
xMin, xMax