fix: add bound pixel instead 0 in sum of neighbor