prepare to detect zero bit planes