Calculation of periodic roof weighting interval in longwall mining using finite element method