magnitudes.setSizeQuick to fix null pointer