Added view model building code to range facet builder.