Simulation of cusp formation in composite materials using the thick level set method