add roleSize configKey

fix #2