Moved end cut first - closes #49