check for hist size