secured creation of length object by package visibility
used PhotoWithDistanceFactory to create Photos