minor bug fix Vec3i => Vec3d