BUG: Fixed hang when extreme grid spacing is chosen