Add further optimizations,frandom,more free kbytes