[TAC-156] lan matrix algo improvement first