Clamp root to borders