Turns out I don't need that bitmap structure.