take true pos vars into account when choosing window size