change sample height