Use C instead of Python to generate the walls