Added option to set field size