GetnZone and GetnDim simplification
After merging