adding parallel version outerloop galois