Use magicPizza variable to remove calculation from for-loop