Scientists discover all stalagmites growing from cave floors follow a mathematical rule that explains how these mineral formations develop into different shapes.