The to_i means true always. So set default size unless size is greater than 0