Remove last call to pairdatacpy and remove pairdatacpy