moved new_optimize into guillotine_interop.cpp from raskroy.cpp
fixed bug