use constants of log(2)
allow ad-hoc choice between static and dynamic dispatch