You question is already answered by this statement.
You should also specify the NUM_SECTORS in partition layout XML file.
Please refer to How to solve the issue that ssd are not entiely availiable after full disk encryption - #5 by KevinFFF for their relationship.
Or you can let us know what the physical size of your NVMe SSD and what’s the desired size you want to use for rootfs.