fixed span near queries