fix out of boounds errors
remove visual horizon pruning