Prevent stack overflow with 1000s of input files
Fix bug in coordinate rounding
Add test for bugfix