Fix bug#1: same box increases pairs