Abstract layered squares