bug 676: complete description of maxloc algorithm