cube improvements (thanks beta382