simplify rep and rep_len, no dospatch needed thanks to sugar_begin