Preheat the oven to 350 degrees Fahrenheit. Grease a 9” x 13” baking pan with butter. (Optional: you can line it with parchment paper after greasing for easy removal.)
Put butter, wheat flour, flour, and salt into a bowl and cut the butter into the flour until it resembles coarse sand. (Alternatively, put the ingredients in a9-cup food processor and pulse until it’s combined.)
Mix in toasted nuts, if using. Press the mixture evenly into the bottom of the baking pan.
Put the baking pan on the middle rack in the oven. Bake for 20 to 25 minutes until the crust is golden brown. Let cool completely, at least 1 hour.
Put frozen blueberries, water, and palm sugar in a 1.5-quart pot stir well to combine. Put pot on high heat. When the blueberries come to a boil, turn heat down to medium high and stir. Cook for about 10 minutes, stirring occasionally.
Turn heat to high and bring blueberries back to a boil. Mix cornstarch and water together in a small bowl. Add to blueberries and stir until well combined. Cook for 3 minutes and turn off heat. Cool completely (about 1 hour). Mixture will thicken further as it cools.
While everything is cooling, put room-temperature cream cheese into a mixer with a whisk attachment. Mix on medium speed until slightly whipped. Add vanilla, sugar, and heavy whipping cream to bowl. Mix/whisk on medium-to-medium-high speed until it looks like it doubled in volume. This will take about 5 to 10 minutes depending on the speed used on the mixer. Keep the cream cheese mixture cold in the fridge while the other components are cooling.
Evenly spread the cream cheese mixture over the cooled crust. Top with blueberry topping. Put the pie in the fridge for at least 1 hour to set.