running program with new feature that maps to figure out where each indices are in locality