Improved scaning algorithm

Book names are only caclulated when needed