Preparing code before coordinate traits refactoring. Performance boost 15% while switching default coordinate type to integer instead of double.