Custom made implant to fill a cavity