Added malschains as an option for optimization in ets