Mechanism of limestone replacement at low temperature