fixed implementation of shrink to not delete regions