Actual Algorithm Code a bit more complex
When computing Xleft, XRight of span, Mesa maintains inner and outer versions.
- Inner X guaranteed to be on the edge or inside it
- Outer X guaranteed to be on the edge or outside it
An Error term is used to calculate which X should be used