The size mod they are using here is the one listed under Grapple, not the generic combat size mod. It's (basically) +4 for every size over Medium, and =4 for every size under Medium. Therefore your example should be like this:
A - Medium Fighter 5 (BAB +3, Str +2, Size +0)
B - Small Wizard -4...