ENCODING AND OPTIMIZATIONS: FABIO SONNATI