For loop question

I have a problem with my for loop. The cube object is created 20 times in the same position (0,0,0). What is wrong with my code?

var dot : Transform;
var line : Transform;
var numberOfBranches = 1;
var linelength = 2;
var dotlength = 0.3;
var amount = 20;

var position = Vector3.up;

function Start () {
var i : int = 0;
for (i = 0 ; i < amount; i++){
print (i);
var branch =  Instantiate (line, position, transform.rotation);
position = position * i * linelength;
}

}

If position is (0,0,0) initially, multiplying it by anything will always result in (0, 0, 0). Your code is fine beyond that.