     last := (i+(llps-1)*inc) mod m;
