What startup do you work for? 50% before and 50% after is quite risky. Why not 10% before, and 4 more sections of 10% throughout, and then 50% after?
Yes, maybe start with a small sample and then setting some milestones will be more reasonable for such deal.
40% and 60% is reasonable.