fix model slicing corner cases
Merge pull request #11 from nden/slicing2

fix model slicing corner cases