Update max_x_filter.py