Added the 'recut' function.