remove meaningless clamp_by_boundaries()