Evaluating volumes for magma chambers and magma withdrawn for caldera collapse