Update bloom.cpp