context free grid