Updated CreateSubBuffer