Leaving the untreated live rock in the tank will allow various animals to move to the treated rock, but the hair algae will be able to spread, too. I was successful at killing hair algae off, so I don't consider it much of a problem, but others haven't been so lucky. The hair algae might have a harder time growing once all the rock has been treated, though.