Add a max cost parameter to get-baseline.py.