found a bug where the agent's fitness becomes infinity XD.