underflow in c chart site:stackoverflow.com - Search