Prediction of subsurface stress in elastic perfectly plastic rough components