Creation createPoint algorithm