subtle bugs in AcceleratedAMA