Rubik's cube lens protocol