A parallel algorithm for fast reconstruction of primary vertices on heterogeneous architectures — arXiv2