An approach to modelling the strength of coal pillars