Split span into 2 locations, refactor code around it.

Review URL: https://chromiumcodereview.appspot.com//12077054