[I started from the largest possible building envelope, as there is also the corresponding space requirement.] This approach may be logical but practically leads to tightly packed rectangles. Therefore, my suggestion for a counter-thesis. Just try an optimal floor plan arrangement without regard to the plot. Then you have a representation for comparison, showing how many (and which) corners it would pinch. At first, just as a site plan, without wall thicknesses and certainly without window sizes or installation channels. Simply so that there is a target-actual comparison. And then see what it inspires.