So basically if there are 100 keys here it has to go through 100 recursions to successfully replace all 100 keys ?