Finished scan test and also changed buffer allocation on Scan class. Now the buffers are allocated with predefined size at construction time and reused for all scans that the instance performs.