You didn't post any basic information for me to work on the answer. every cylinder has a different radius and a different hight and hit at different points on the map you need to give basic information cost/ x radius hight ... a lot of missing information here