added an option "--gridOrigin" to Macros/main.cpp.