Fix for an overflow when loading IVP shapes (should fix big maps or something)