created Keeper function containing a sweet spot of variables for nested polygons