resolve 50 works for 2D and 2.5D, but 3D persist region may need alteration
Merge pull request #64 from CharlesGust/50

resolve #50