Automatic topographically based blocking for hybrid grid generation