The maximum length of a lava flow can be based on the MEAN and the STANDARD DEVIATION of historical lava flows. The simulation stops when the flow line reaches a maximum euclidean length (m) equal to (mean + 3 * std) and is afterwards weighted by the probability for the lava to reach such a distance using a decreasing cumulative distribution function. 