Calculation of expected gain for the store