substitute the linked list used for storing the nodes info with an array in order to shrink the exec size