The limiting efficiency of an edge-illuminated multigap solar cell