Updated binary to octal formula