[MOD] XQuery: better cost estimation for range queries