Added preprocessor directives to ommit GC tests in debug mode
Added modular arithmetics