Split graphite from HARDCORE optimizations

Change-Id: I517ba3a00889dce223f67ed091f74a8802b5e36b
Signed-off-by: Petr kecinzer Řezníček <kecinzer@gmail.com>