Loyd made a fastbreak layup and then dunked with 59 seconds left to tie the game at 80 , but A.J. Hardeman grabbed the offensive rebound after a miss by Gary and scored with 42 seconds left to give New Mexico the lead .