How do trees calculate square roots. They use log-arithms.