set max bounds (optional)