debug log for counting bits set naive way related