make default return value of get_extent an iterable