use extent() on visible range; fixed #60