determining sensible column and row number for terminal
cleaning dependencies
erring on the small side when determening row number