Adds the correct pixels neighbors