try use intersection to get y value every x interval