fix in null bitmap calculation for 8,16,24,.. params #25