Removed hardcoded network parameters in sliding_window.