LALW Algorithm