some optimisations

# Riveros's Double Exponentiation with repeated Schonhage - Strassen
Squaring