Requires defining seed for running the algorithms.