You'll need a baking tray of size 11"x11" (28cmx28cm) or 9"x12" (22cmx30cm).
Cut your phyllo sheets in two, or trim them to fit your baking dish. Lay a sheet of phyllo in the dish and lightly brush the top with butter.
Repeat until you have used half of the pastry.
Pour the custard on top and spread it evenly.
Add the remaining phyllo sheets on top, brushing each one with melted butter. Trim or tuck the edges if necessary.
Cut the top into 12 equal pieces with a sharp knife until you reach the custard.
Brush the top with the remaining butter and place it in a preheated oven to 320℉ (160℃).
Bake the pie until the top is crispy and golden, for about 55-60 minutes.
Remove from the oven and pour the cool syrup slowly over the hot pastry.
Serve while still warm, as soon as the syrup is absorbed by the phyllo sheets.