This reverts commit 3ac769b6abe9b97a94033f376b28482d2d5f7b00.
Remove nonextant matrix positions from the layout data.
Co-authored-by: xia0 <xiao@morgan.net.au>