calculate size on nextTick
cycle on show
Automatically rewritten for npm.