patch-optimize.c