More graphite backend Optimizations