calculateMinXAndMixY remade + storing min and max corner vectors now