encoder.js :: create small tuple if length <= 255