When you shake the bag, smaller candies settle down to the bottom, the larger ones get to the top. So even if someone tries to shake the bag to get a 'random' sample, they will be getting a biased sample if they pick all 5 candies from the same layer (usually the top).