Update window.py

New name for weight heuristic.