Fix allocation of higher planes.