fix bug with proportionate data == hand-coding data, solve for annoying factorising problem