FEM analysis towards the automation of pathology grossing