Discovery

Makes Discovery's `SEARCH_BUFFER_SIZE` configurable and defaults to 1024 * 1024.