Use linked lists instead of array iteration more in store code