fixed handling of start > end: make it an array of 0's