Construction of variant arrays