adapt sdf indexing scheme