add locality mode to nccreate