Automation of loop amplitudes in numerical approach