fixed bug in SN and added debug output for different blocksizes