the parallelism version of SSGD