test traverse the whole photos cost