Change cube's points variable to public