modify box filling