most efficient bin <-> hex str conversions