add est file and small fix algoritm