Change parameters in invert.cpp