Assessing terrain stability for infrastructure planning in permafrost environments