VX(Li): Complete BitGrid and its unit tests.