CMS pixel detector upgrade and top quark pole mass determination (2017)