Added line visualization & changed simplicity check