Full rows cols

Issue #470.
I've looked at this code for too long! I'll add a comment :)