Calculation with fixed prices as well as using masks