Replace underlying implementation of all lists from Linked Lists to simple arrays, except for the Variables list inside each group.