Quantifying crustal thickness over time in magmatic arcs