block : add ROW algorithm