Magnetization loss for stacks of ReBCO tapes