Broadway Partners , a highflying New York real estate fund that bought its first office building six years ago , spending $ 4.8 million for a former school building in Hartsdale , N.Y. , has agreed to buy 10 prime office buildings across the nation from Beacon Capital Partners of Boston in a multibillion-dollar deal .