SoftwareSerial buffer size

This line determines how many characters are received

const byte numCharsSlave = 32;

change it to whatever size you need - allow at least one extra byte for the terminating '\0'

...R