BUG: fix percentily under old numpy