Not to muddy the waters, but... Have you considered using adressable sensors that talk
microwire or SPI? Probably a little more money (LM74 is around $2 at digikey) but would eliminate
running out of pins. AND you get to start over with your programming!!
Just a thought..