implement Morton ordering.
Update TODO