MIPMap and AshikhminCache should not be duplicated - use pointers to
save them (note this creates memory leak). We shouldn't store the
distribution in the cache as well - it might be released