Fixed declaration depth problems. All decls have a depth now.
fixed basic assigns