changed node coordinates type from double to int