For topping you should top it when it has four full nodes and has just started its fifth. Reason being you will be adding stress to the plant by doing it and the plant will be decideing its sex soon. According to Zandor's Grow Report, by topping it at this stage you will help avoid stressed related sex problems.