Nanaimo bars

A recipe from Vancouver Canada via my friend Jen and the NY Times . My crust was a little crumbly and I think I might add 2 more ounces of butter next time. I also think this bar could be baked in a 9″ square pan. I ordered the Bird’s custard powder from Amazon.

½ cup/115 grams unsalted butter (1 stick), cut into pieces
¼ cup/50 grams granulated sugar
1 large egg
3 tablespoons cocoa powder
1 teaspoon vanilla extract
2 cups/235 grams graham cracker crumbs
1 cup/85 grams unsweetened shredded coconut
½ cup/50 grams finely chopped walnuts, almonds or pecans (or a mixture)
¼ cup/60 grams unsalted butter (1/2 stick), at room temperature
3 tablespoons heavy cream
2 tablespoons custard powder, such as Bird’s
2 cups/245 grams confectioners’ (icing) sugar
4 ounces/115 grams semisweet chocolate, broken into 1/2-inch (1 1/4-centimeter) pieces
2 tablespoons unsalted butter
Flaky sea salt, for sprinkling (optional)
Line an 8-by-8-inch (20-by-20-centimeter) metal baking pan with parchment, allowing parchment to overhang by about 2 inches (5 centimeters) on two sides.
Prepare the base: In a double boiler, or a heatproof bowl placed over a saucepan of boiling water, whisk butter with granulated sugar, egg, cocoa powder and vanilla until melted. Continue whisking until mixture thickens slightly, 1 to 2 minutes. Remove from heat.
Stir in crumbs, coconut and nuts until the mixture is well combined and resembles wet sand.
Transfer mixture to the parchment-lined pan and use your fingers to press it into an even layer. Transfer pan to the refrigerator to chill until firm, at least 15 minutes.
Meanwhile, prepare the buttercream: In a stand mixer fitted with a paddle attachment, cream butter on medium speed for about 1 minute. Add heavy cream and custard powder and mix until combined, scraping sides and bottom of the work bowl as needed. Add 1 cup confectioners’ sugar and mix on low until incorporated. Add remaining confectioners’ sugar and mix on low until combined, scraping the bottom of the bowl as needed, then mix on medium-high speed until smooth, light and fluffy, 2 to 3 minutes.
Remove pan from refrigerator. Dollop the buttercream on top of the base layer then gently spread it evenly on top using an offset spatula. Transfer pan to the refrigerator to chill until buttercream is set, about 30 minutes.
Prepare the topping: In a small, heavy saucepan or a double boiler, heat the chocolate and butter over low, stirring often, until melted and evenly combined, 2 to 3 minutes. Remove from heat. Take pan from refrigerator and pour chocolate on top of buttercream layer. Working quickly and carefully, spread the chocolate evenly over the buttercream using an offset spatula. Sprinkle with flaky sea salt, if using.
Return pan to refrigerator and chill until chocolate hardens, about 25 minutes.
To serve the bars: Lift excess parchment to remove Nanaimo square from the pan. Cut into 16 2-inch (5-centimeter) squares. Store bars in the refrigerator until ready to serve. Bring to room temperature before serving. Store remaining bars in the refrigerator for a few days, or wrap well and freeze.