prevents 0s from being written to graph json and adds a border synapse to the regression