Ajusting the preview length