The returned coords didn't include the last cell on the line; adjust the fallback case to generate an exclusive rather than inclusive end coordinate.
The returned coords didn't include the last cell on the line; adjust the fallback case to generate an exclusive rather than inclusive end coordinate.