flexbrick algorithm architecture - Search