Prevent errors on very small maps