revision on getMaxValue Method for tiny values