Superconducting single photon detectors based on multiple cascade switches of parallel NbN nanowires