bit more work on border validation. need to clean it up greaty to reduce
memory churn...