Problem in compacting zeros , ones are clean
new scan fixed.