Fixed bug in tieIndices where imaginary dat was not being properly allocated to the new size.