Simple in-memory bitmap index written in C#