distributed algorithms for ec527