fix name max_size
fix xrange() use
remove _default
remove unused xbounds
fix name error
remove all import and new init functions