bus: fix size calculation for match data