use convert instead of ntuple in pointer_to_array