added ability to set bits and report correctly those blocks that are allocated or deallocated