Employee was installing a 7-8 foot long water pipe and was trying to start threads into a 90 degree elbow. The opposite end was resting on a metal box. As ee turned the pipe trying to start the threads, the pipe rolled off the top of the box causing the pipe to shift and mash the employee's finger between the pipe and corner of the equipment.