range_filter: support default max_border