Efficient Loop Versioning for Relative Alignment