Improving Rectified Flow with Boundary Conditions