These species occupied many ecological niches , ranging from burrow-dwelling to squirrel-like tree-dwelling . These species occupied a diversity of ecological niches , ranging from burrow-dwelling to squirrel-like arborealism .