more cleanup
completed support for 5 z-dimension planes