Main: added expand and shrink to main.

Signed-off-by: Elsk <jacky8hyf@gmail.com>