pqi mpi modifications
added first n:m results