Something wrong with your integration
I think your assumption is a creative one and physically meaningful.
During the integration you should consider that the mass is not a constant but a function of time. The mass can be expressed as
m = m0 + rt (r< 0).
where m0 is the initial mass...