GOODWILL AND INTANGIBLE ASSETS (Details) - USD ($) $ in Thousands | 3 Months Ended | |
Sep. 30, 2016 | Sep. 30, 2015 | Jun. 30, 2016 |
Finite-Lived Intangible Assets [Line Items] | | | |
Intangible assets, original amount | $ 4,988 | | $ 1,631 |
Intangible assets, accumulated amortization | (653) | | (502) |
Total | 4,335 | | 1,129 |
Intangible assets, amortization expense | 200 | $ 20 | |
Goodwill [Roll Forward] | | | |
Balance at June 30, 2016 | 1,039 | | |
Goodwill acquired during the three months ended September 30, 2016 | 5,685 | | |
Balance at September 30, 2016 | 6,724 | | |
Future amortization of intangible assets [Abstract] | | | |
2,017 | 616 | | |
2,018 | 615 | | |
2,019 | 615 | | |
2,020 | 615 | | |
2,021 | 615 | | |
Thereafter | 1,259 | | |
Total | $ 4,335 | | 1,129 |
Customer Relationships [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 7 years | | |
Intangible assets, original amount | $ 3,007 | | 580 |
Intangible assets, accumulated amortization | (167) | | (60) |
Total | 2,840 | | 520 |
Future amortization of intangible assets [Abstract] | | | |
Total | 2,840 | | 520 |
Permits [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Intangible assets, original amount | 1,211 | | 668 |
Intangible assets, accumulated amortization | (215) | | (191) |
Total | 996 | | 477 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 996 | | 477 |
Permits [Member] | Minimum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 6 years | | |
Permits [Member] | Maximum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 15 years | | |
Patents [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Intangible assets, original amount | $ 383 | | 383 |
Intangible assets, accumulated amortization | (255) | | (251) |
Total | 128 | | 132 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 128 | | 132 |
Patents [Member] | Minimum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 5 years | | |
Patents [Member] | Maximum [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 17 years | | |
Trade Name [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 7 years | | |
Intangible assets, original amount | $ 270 | | 0 |
Intangible assets, accumulated amortization | (10) | | 0 |
Total | 260 | | 0 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 260 | | 0 |
Non-compete [Member] | | | |
Finite-Lived Intangible Assets [Line Items] | | | |
Estimated useful lives | 5 years | | |
Intangible assets, original amount | $ 117 | | 0 |
Intangible assets, accumulated amortization | (6) | | 0 |
Total | 111 | | 0 |
Future amortization of intangible assets [Abstract] | | | |
Total | $ 111 | | $ 0 |