Fix build by adding slicing syntax.

Could you change these two to `a.data[mid .. ]` and `a.data[ .. mid]` respectively?