Added libs
Run garbage collector after every loop