Filling shaped to fit a tooth cavity