Reference implementation for the paper published in the Journal of Parallel and Distributed Computing (vol. 169, 2022).