changed currentBinLabels to currentSharedBinLabels