I don't think this is ideal. compute `len` once and always or never print.