fixed bug with tx cumulative size calculation
removed tmp code lol