Reducing complexity of sphinx constants parsing