Added an alternative implementation log log base 2