[mod] simplify cube