@protected double resolvedNext(double maxNextExtent) { return n.isFinite ? math.max(0.0, n) : math.max(0.0, maxNextExtent); }