The ATM uses sensors to prevent any over dispensing. Each bill that passes through the machine is measured for thickness and length. If any bill does not fit this measurement it is placed into a divert cassette. This prevents any notes that could possibly be stuck together from dispensing