replacing c-style numeric limits with proper C++ style
removing debug output