define array cut by a percentage