updated to work with newer version off HOOMD