Fixed issue, where coordinates were not evenly spaced.