Minimax Approximation Algorithm - Ontify