Implemented leave cutter, close #1876