Small binary to decimal converter