Added size limit for second step of self alignment