Version 1 of distributed solver.