Reduce getBounds() number of comparisons

Initialize limit values with first values instead of Infinity. Small
performance improvement as mentioned in #703.
Merge pull request #705 from Cristy94/dev

Reduce getBounds() number of comparisons