Stochastic reconstruction algorithm for elongated paleovalley morphology