The origin of hard magnetic properties in rapidly quenched Nd4Fe77.5B18.5 alloy