CoStar has again expanded its offices in the Richmond metropolitan area. Last week, the commercial real estate data, analytics and online marketplace provider completed a full-building lease of the 13,000-square-foot Pattern Building at 470 Tredegar St., part of the historic Tredegar Iron Works that dates back to the mid-1800s.