add longest consecutive sequence