remove useless func
prefer static size when create block