Eucliwood Overflow fix

Closes #2.