remove extreme points