still struggling with mem for casc computations..