complete cutmorph.rb