+ added initial photo layout algorithm