SALB algorithm