Throws exception on $start!=$end