range expansion corner cases
range for defun