Calculating spread correctly