fixed an index bug in generating tet mesh; simplified storage of scalar field sign, now it has lower memory consume and can work properly