bidirectional grid