improve bitop for huge data set