NEW_GEN: Allocate dynamic lists before assigning elements of it.