tested with smaller sample: same problem