Allow different values for attribute sizes

This fixes a mistake from my previous pull request (the previous request used * for everything's shape).