fixed major bug in shrink