re-pararellized the construction of arrays