Finished writing changes in the inexact search egine to support csalib functions