The first prgel algorithm runs through correctly