added the offline paralel implementation and the corresponding utest