threadparallelparadigm: improved