r1576 branch compressed-cut, initial comit