moving setColorForIndices and getMeshForIndices