Rewrite of parallel likelihood