An Improvement in the Shadow-Cast Replica Technique