slightly faster clipping