add map-interval-clamped, update map-interval & rsqrt