A method and apparatus are used to fit a metallic or composite doubler on an uneven surface. A three dimensional digital map of the gap between the doubler and the uneven surface is generated by digitally scanning the uneven surface. The digital map is then used to fabricate a stack of adhesive plies tailored to substantially fill the gap between the doubler and the uneven surface.