reworked shrinkage, bug fix