add active and loaded size runtime changing