Master cylinder piston is not coming back far enough.
1/ master cylinder piston is getting stuck in bore on the return stroke.
2/master cylinder push rod is not letting master cylinder piston move back far enough.
3/the very small port in the master cylinder inlet is blocked( there are two ports or holes, one is bigger than the other, should be able to just see it with the fluid supply/housing pipe removed.
4/ incorrect seals fitted to master cylinder.
Some times a tap with a small hammer on the side of the master cylinder will encourage a sticky master cylinder piston move all the back in its travel .
It some times takes aliitle while for the fluid to start lubricating the piston seals..................usually you check all this out on the bench and prime the cylinder best as possible before fitting.

