add algorithm dir