there were shelves or niches built into the walls all round , on which the coffins were placed , so that there could not be much difficulty in a minute examination of them all , the one after the other .