change slice structure