removed FIRM_EDGES_INPLACE, now handles by preprocessor