Replaced malloced arrays by Varray.

4 jobs for develop in 15 minutes and 39 seconds (queued for 1 second)