updating alg block spacing
adding stefs changes to example