added comments to search radius calculation