Skip point coordinates with NaN/Infinity values Reviewed-by: flar, prr
Use first / last Y crossings to compute edge min/max Y and ensure consistency with edgeBuckets / edgeBucketCounts arrays Reviewed-by: flar, prr