64310340 range selection

There are still some optimization issues that need to be addressed. However, the basic idea is there.

@nthomson - https://www.pivotaltracker.com/story/show/64310340