Elastic and plastic parts of strain energy density in critical distance determination