Issue: #17

  * Moved pt-line belong checking code to method