migrate to boost::range where possible
add bitmap.h, extracted generic logic
assert paranoia
inline destoryed, no need for this vector
add 'using namespace boost::adaptors'