Found parallelization problem, the memory being written to was not uniquely defined for each processor if there were too many loops incorporated in the collapse directive