MASSIVE memory improvements