once I have selected the best lengths to use my plan was depending how much they are out to get two of the faces machined flat or if to far out weld a strip to the top and get that machined instead.

I'm thinking doing the same raised rail design but then have flat plates on the verticals to bolt the long rails to so I can shim them or what ever is needed.