Problem with coding HC4051

Pin 6 should be connected to ground.

Also each layer only has 8 addresses not 32.