Keypad .kstate question

OK I am thinking I am probably going to need stronger external Pull-Up resistors to be able to keep the wire length from causing an in-between signal to be triggered low.

Problem Is how do I do handle that with the matrix..

And my intention is to have the ability to change matrix styles with the flip of a switch which will change the row and column pins, i.e. base configuration is a 1x7 (7 button) matrix where secondary state is a 4x4 (16 button) matrix. In doing this I am not sure if doing external pull-ups on the pins will cause an issue with the keypad input since if reading the code correctly it changes state of the pins based on the active keys..