create point to bitPos conversion