Astroid utilizes a calculation grid that allows for local grid resolution to be specified on a per structure basis. This allows for improved optimizer performance in terms of both speed and resultant plan quality. A uniform sized base calculation grid is created over the entire patient structure. This base resolution can generally be set to a size much larger than the value needed for accurate clinical dose resolution. The user can then reduce the grid sizes in critical areas, generally the high gradient regions and target areas that require homogeneous dose, by assigning appropriate structures a smaller grid spacing value. A common configuration is to use a base resolution of 8mm, 4mm within critical OARs and the PTV/CTV and 2mm in a thin (rind) region surrounding the PTV. This provides sufficient dose information for the optimizer to maintain uniform dose to targets, drive down dose to OARs, and achieve steep dose fall at the boundaries of targets and healthy tissue. An example of constructing such a grid is given below.