move parse_size to dongting.py