Enhanced foreign function interface supporting long vectors
