Bug Fix: was using ln not log2.