counting zero pages (work in progress)
set uninitialized memory to 1
removed unused function