fixed a vertex slice issue with calculating neural resoruces used