generating cube sides seems to work, but subdivions is buggy