bugfix in cubes and downgrade (?) scipy