A spring of spring constant k has been connected to mass m. If spring is cut into two equal parts and one part is again connected to same mass then time period is