validate icon size