bmpProcesser refactoring