added separate Grid structure in Passive.c, full grid works, but not half