improve inline-ability of _clamp functions