using @parallel instead of pmap on blocks