Optimization for the second layer stuff. Lets not use double the memory for no reason...