Here's a 12 degree slope on the bed dimensions of your truck:
If I curve it down at the center, and curve in the sides, the height and area of the transom face can be shrunk some, but this is obviously very different from before.
I'll keep going...
Oh, what is the height of the cab roof at the center of the bed where you want the cap to be level with?