reenabled -O0 in debug mode, explicitly passed edge_levels to subdivpatch1base