Same error with planes[][]