add find longest consecutive integer