This treaty laid grounds for much of the later claims for a Greater Bulgaria. However, the Treaty of San Stefano was a preliminary one, and the borders of the newly created Bulgaria were established in the Treaty of Berlin.
The treaty that laid the groundwork for future Bulgarian ambitions was the Treaty of San Stefano. Nevertheless, it was the Treaty of Berlin that established the territorial limits of the newly formed Bulgarian state.