Don't transition axes marked as null.
Using loops instead of hard coding indeces.