Update RINGTOP calculation

RINGTOP is calcuated incorrectly as 
```erlang
trunc(math:pow(2,160)-1)
```
because substracting one from such a large float before the trunc call has no
effect. Subtracting one after the trunc call results in the correct
value.
```erlang
trunc(math:pow(2,160))-1
```