Budget deal caps the legislative session