Finite element method and optimality criterion based structural optimization