calculate point considering mark