check size of library