Replace weird percentiles generation with percentiles validation