Use constants for access position and speed array indexes.