Well it looks like the number of times you loop is different from the number of bricks counted. Maybe try counting from 1 in your load function (For n=1 To brickcount)
If that doesn't work, I would suggest throwing a Break into your load function and run in debug mode so that you can see what the variables are being set to.
If that doesn't work, I would suggest throwing a Break into your load function and run in debug mode so that you can see what the variables are being set to.