add code to add cut plains