reduced path len size to save memory