Implemented point clamping and tile filling