You can do the calculation in steps. Sometimes a spreadsheet helps with this process. I have done similar things for marinas, when the number of slips yet to be fed gets smaller and smaller, the further you go down the pier. So the wire size can get smaller as well. I have also done this for site lighting, when the number of lights yet to be fed gets smaller and smaller, the further you get from the panel.