Distance table plugin, set maximum size of input before truncation from cmake #1077

Distance table plugin, set maximum size of input before truncation from cmake #1077