top layers was off by one