Use ARRAY_SAMPLE_SIZE constant instead of 100.0