check VHND availability after first confirming the window is right
adjust calculations to look back the proper windows
fix typo in param name
add tests for vhnd availability to condition four