Taking the opening post at face value and following it one step further.
The arithmetic on sample handling between despatch is the easy part and it is where the errors are, which is an uncomfortable combination. Show your working and someone will catch it.