add linear trap evaluator c code