add limit to icon palette size when generating windows icon