Proper solution has to be found for the kernel in order to handle 3D position data
without spliting each dimension in different arrays.