clamp + calc