There are two loops in SC_BuildTimeIndexTable that appear to be easily combinable. Imported from GSFCCFS-1466