Minor fix

Make prefix_len variable a global constant which is more appropriate.
Also get rid of SBUF_LEN which should have been deleted long ago.