Dictionary passing style for coordinate encoding functions