Pass correct variable to size keyword argument.

The code as it was was wrong and also resulted in a compiler crash
due to passing a generic function as the size parameter.