CPP : Dynamic size for playground objects