Whole layer convection in a heterogeneous planetary mantle