Splitting sides into layers