(bugged) parallel solver implementation