Adding reservoir sampling problem