Use Integer as index for MutableArray

Use a signed integer to be able to represent empty vectors (0,-1)