[spram] Add function to merge location probabilities