add the references to row and column indices on the output of the sampling phase