resolved memory problem in debugging mode for weight.ino