BUGFIX: Can't create sheet when distance bigger than 500