Revise shrinking math

simpler and better