Finally fixed! It looks a bit weird but it works

TODO: move selection, fancy slice selector, fix bigger cubes and make
everything look better