p25 is sort of working need to implement Log2 function for int type
instaed of using the built in Log2 for float64 in math package