Calculate divisions vertically.

In preparation for 9 patch.
Update box3.
Delete unused code.
Make text more readable.