Compositional Blocks for Optimal Self-Healing Gradients