CF001B: Allocate all needed memory