fix lying assertation and hard-coded shrinkage