fixed bug with points and outer-gaps