Do not use goal values as array indeces.