The alignment is a bit messed up in your ascii art. But could you post the (simplified) code of your grid?