shrink on commit