Modified memory consumption, still not ok