Update networks.py

another try to fix hexes