Trimmed obsolete parallel implementation