how to determine overflow - Search