Fixed issue with cin taking to small a value