TAJO-665: sort buffer size must be dealt as long type values. (missed casting).