implemented bitmap merger