Added cube scaling