small improve
improve max-estimation