Harary index fix