Fixing the size argument

During triple checking all changes I received a panic on this (index
out of range on line 373) twice, so updated the make function call to
use the correct slice to determine the needed size.