point2dem: Fix for very large images