XArray: Add support for 1s-based allocation