Removed the smart code

Removing the code when all of contents in table (neighbors) are zero.