reduce indent
more notes regarding the algorithm