fix: proper clipping handling
fix: export interpolate only when needed