positions are linear in the array