Two operations in the borders were not needed since the output was
always 0