Add support for align parameter when creating sized primary partitions