Eucleides' algoritm: LEGO builder | ScratchStats