Very true, true I started with that in mind but somewhere down the line of eating cookies and typing furiously I the spaghetti code slipped through the cracks and made it into the map code. The map in the image is large size.
Tested once. No slope constraint but all trees should be reachable (maybe some at the most top of the volcano no but anyway ....).
But those functions with deprecated code are very handy for repetitive placers like mines, stone, food, ...