Modified circle-cut program to work