Prescribed-time consensus for multi-agent systems using finite switching time-varying gain