fixed binary to quad conversion