Main method now declares stack size properly
Bugfix in compare