From the description you have provided, your vehicle brake pedal going to the floor before and after the brake master cylinder replacement, is a safety concern. (yourmechanic.com)
The bills must now go to the floors of their respective chambers for consideration. (tcta.org)
Press on the brake firmly a couple of times to be sure the pedal does not go to the floor. (yourmechanic.com)