this shouldn't be needed since once you get the bin indices the first time they will be equal to the bin indices on the uniform histogram, right?