remove min and max

it seems unwise to duplicate std:: functions...