fitment algorithm performance